/* Custom 5-column layout for large screens */
/* @media (min-width: 992px) {
  .col-custom {
    width: 20%;
    float: left;
    padding: 15px;
  }
} */

/* Tablet: 2 per row */
/* @media (min-width: 768px) and (max-width: 991.98px) {
  .col-custom {
    width: 50%;
    float: left;
    padding: 15px;
  }
} */

/* Mobile: 1 per row */
/* @media (max-width: 767.98px) {
  .col-custom {
    width: 100%;
    float: left;
    padding: 15px;
  }
} */

.team-section {
            box-sizing: border-box;
            position: relative;
            z-index: 1;
        }

        .team-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            height: 250px;
            width: 100%;
            opacity: 0.05;
            z-index: 0;
        }

        .team-section::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            height: 120px;
            width: 100%;
            opacity: 0.04;
            z-index: 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
            z-index: 2;
        }

        .section-title h2 {
            font-size: 2.6rem;
            color: #D72638;
            margin-bottom: 10px;
            position: relative;
        }

        .section-title h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: #D72638;
            margin: 10px auto 0;
            border-radius: 2px;
        }

        .team-row {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
            position: relative;
            z-index: 2;
        }

        .team-member {
            background: url('assets/img/team-bg.png'), rgba(255, 255, 255, 0.9);
            background-size: cover;
            background-position: center;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
            width: 240px;
            transition: all 0.3s ease;
            position: relative;
            backdrop-filter: blur(10px);
        }

        .team-member:hover {
            transform: translateY(-6px);
        }

        .team-member::after {
            content: '';
            position: absolute;
            inset: 0;
            opacity: 0.02;
            pointer-events: none;
            z-index: 1;
        }

        .member-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-bottom: 1px solid #eee;
            position: relative;
            z-index: 2;
        }

        .member-info {
            text-align: center;
            padding: 20px;
            z-index: 2;
            position: relative;
        }

        .member-info h4 {
            font-size: 1.2rem;
            font-weight: 600;
            color: #D72638;
            margin-bottom: 5px;
        }

        .member-info span {
            font-size: 14px;
            color: #444;
        }

        @media (max-width: 768px) {
            .team-member {
                width: 90%;
            }

            .section-title h2 {
                font-size: 2rem;
            }
        }